import {createApp} from 'vue';
import {createRouter, createWebHistory, RouterView} from 'vue-router';
import { createPinia } from 'pinia'
const pinia = createPinia()
import routes from './config/routes';
const router = createRouter({
    history: createWebHistory(),
    routes
});
const app = createApp(RouterView);
app
    .use(router)
    .use(pinia);
app.mount('#app');